package com.manong.bookstore.message.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 *
 * @author cyq
 * @email 465447222@qq.com
 * @date 2021-01-26 21:39:57
 */
@Data
@TableName("mms_message")
@AllArgsConstructor
@NoArgsConstructor
public class MessageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId
	private Integer messageId;
	/**
	 * $column.comments
	 */
	private Integer sendId;
	/**
	 * $column.comments
	 */
	private Integer receiveId;
	/**
	 * $column.comments
	 */
	private String sendType;
	/**
	 * $column.comments
	 */
	private String receiveType;
	/**
	 * $column.comments
	 */
	private String content;
	/**
	 * $column.comments
	 */
	@JsonFormat(pattern ="yyyy-MM-dd")
	private Date sendTime;

}
